package com.group7.mall.convert;

import com.group7.mall.dto.SellerDto;
import com.group7.mall.dto.StoreDto;
import com.group7.mall.entity.TbSeller;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface StoreConverter {

    StoreConverter INSTANCE = Mappers.getMapper(StoreConverter.class);

    StoreDto convertTbSellerToStoreDto(TbSeller tbSeller);

    TbSeller convertSellerDtoToTbSeller(SellerDto sellerDto);
}
